﻿namespace LiSAClient.WpfClient.ViewModel.Frame.Menus
{
    public class MainMenuItem : MenuItemBase
    {
        public MainMenuItem(string displayName, IMenuHandler menuHandler)
            : base(menuHandler)
        {
            this.DisplayName = displayName;
            this.IsVisible = true;
        }

        public override void ActivateMenuAction()
        {
            base.ActivateMenuAction();
            this.MenuHandler.ActivateMainMenuItem(this);
        }
    }
}
